#ifndef _LIST_H_
#define _LIST_H_

#include <list>

struct item
{
	double num ;
	int pos ;
} ;

class myList
{
	private:
		std::list<double> li ;
	public:
		myList(std:list<double>) ;
		double *getList() ;
		void insert(double num, int pos) ;
		void increaseList(int startPos, double num) ;
		void decreaseList(int startPos, double num) ;
		int insertRand(double num) ;
		bool deleteFromList(double num) ;
		item deleteRand() ;
		void inverseList() ;
} ;


#endif
